<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%@page import="com.bjhb.wuranyuan.pojo.User"%><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>demo</title>
<script src="../js/mainjs.js" type="text/javascript">></script>
<script type="text/javascript" src="../js/jquery.js"></script>
<link href="../css/main.css" rel="stylesheet" type="text/css" />
<SCRIPT LANGUAGE="JavaScript">
$(function() {
    $('.leftside_link1').click(function(event){
		var id = this.id;
		var title = $(this).text();
		if (id == null || $.trim(id) == "") id = $(this).text();
			var content = '<iframe src="' + this.href + '" width="100%" height="100%" marginwidth="0" marginheight="0" align="top" frameborder="0" allowTransparency="true">';
			//alert(content);
			//alert(window.parent.mainFrame);
			
			try {
			window.parent.mainFrame.addTab("#"+id, title, content);
			}catch(e) {
				alert(e);
			}
			if ($.browser.msie) event.returnValue = false;
			else  event.preventDefault();
			return false;
		});
    });
</SCRIPT>
</head>

<body class="leftsiderbody">
<div class="leftsider">
<div class="leftnav floatLeft">
<div class="lefttab">
</div>
<div class="leftsidernavbg">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr id="content_1">
		<td align="center" valign="top">
		<table width="134" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td class="handcursor">
				<table width="134" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td class="handcursor" onclick="menuclick(document.getElementById('submenu2'),document.getElementById('bar2'));">
						<table width="100%" border="0" cellpadding="0" cellspacing="0"
							class="leftmenubg spaceTopone">
							<tr>
								<td height="25"><span>数据查看</span></td>
								<td width="25"><img
									src="../images/down.png" name="bar2" border="0"
									id="bar2" /></td>
							</tr>
						</table>
						</td>
					</tr>
					<tr id="submenu2" style="display: none;">
						<td align="left">
						<ul>
							<li><a class="leftside_link1"
								href="../qyxx.htm" id="1" target="_parent">污染源列表</a></li>
							<li><a class="leftside_link1" href="../dsjkzb/list.htm?sblx=00"
								target="_blank" id="2">水报表</a></li>
							<li><a class="leftside_link1" href="../dsjkzb/list.htm?sblx=01"
								target="_blank" id="3">气报表</a></li>
						</ul>
						</td>
					</tr>
				</table>

				<% User user = (User)session.getAttribute("user");
					if(user.getRole()!=null && "admin".equalsIgnoreCase(user.getRole())){
				%>
				<table width="134" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td class="handcursor" onclick="menuclick(document.getElementById('submenu4'),document.getElementById('bar4'));">
						<table width="100%" border="0" cellpadding="0" cellspacing="0"
							class="leftmenubg spaceTopone">
							<tr>
								<td height="25"><span>系统管理</span></td>
								<td width="25"><img src="../images/up.png"
									name="bar4" border="0" id="bar4" /></td>
							</tr>
						</table>
						</td>
					</tr>
					<tr id="submenu4" style="display: none;">
						<td align="left">
						<ul>
							<li><a class="leftside_link1" id="5" href="../user/list.htm" >用户管理</a></li>
						</ul>
						</td>
					</tr>
				</table>
				<%} %>
								<table width="134" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td class="handcursor" onclick="menuclick(document.getElementById('submenu2'),document.getElementById('bar2'));">
						<table width="100%" border="0" cellpadding="0" cellspacing="0"
							class="leftmenubg spaceTopone">
							<tr>
								<td height="25"><span>环境质量在线监控系统</span></td>
								<td width="25"><img
									src="../images/down.png" name="bar2" border="0"
									id="bar2" /></td>
							</tr>
						</table>
						</td>
					</tr>
					<tr id="submenu2" style="display: none;">
						<td align="left">
						<ul>
						</ul>
						</td>
					</tr>
				</table>
				
								<table width="134" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td class="handcursor" onclick="menuclick(document.getElementById('submenu2'),document.getElementById('bar2'));">
						<table width="100%" border="0" cellpadding="0" cellspacing="0"
							class="leftmenubg spaceTopone">
							<tr>
								<td height="25"><span>应急指挥调度系统</span></td>
								<td width="25"><img
									src="../images/down.png" name="bar2" border="0"
									id="bar2" /></td>
							</tr>
						</table>
						</td>
					</tr>
					<tr id="submenu2" style="display: none;">
						<td align="left">
						<ul>
						</ul>
						</td>
					</tr>
				</table>
				
				<table width="134" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td class="handcursor" onclick="menuclick(document.getElementById('submenu2'),document.getElementById('bar2'));">
						<table width="100%" border="0" cellpadding="0" cellspacing="0"
							class="leftmenubg spaceTopone">
							<tr>
								<td height="25"><span>污染源地理信息系统</span></td>
								<td width="25"><img
									src="../images/down.png" name="bar2" border="0"
									id="bar2" /></td>
							</tr>
						</table>
						</td>
					</tr>
					<tr id="submenu2" style="display: none;">
						<td align="left">
						<ul>
						</ul>
						</td>
					</tr>
				</table>
				<table width="134" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td class="handcursor" onclick="menuclick(document.getElementById('submenu2'),document.getElementById('bar2'));">
						<table width="100%" border="0" cellpadding="0" cellspacing="0"
							class="leftmenubg spaceTopone">
							<tr>
								<td height="25"><span>视频实时监控系统</span></td>
								<td width="25"><img
									src="../images/down.png" name="bar2" border="0"
									id="bar2" /></td>
							</tr>
						</table>
						</td>
					</tr>
					<tr id="submenu2" style="display: none;">
						<td align="left">
						<ul>

						</ul>
						</td>
					</tr>
				</table>
				<table width="134" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td class="handcursor" onclick="menuclick(document.getElementById('submenu2'),document.getElementById('bar2'));">
						<table width="100%" border="0" cellpadding="0" cellspacing="0"
							class="leftmenubg spaceTopone">
							<tr>
								<td height="25"><span>环境地理信息系统</span></td>
								<td width="25"><img
									src="../images/down.png" name="bar2" border="0"
									id="bar2" /></td>
							</tr>
						</table>
						</td>
					</tr>
					<tr id="submenu2" style="display: none;">
						<td align="left">
						<ul>

						</ul>
						</td>
					</tr>
				</table>
				<table width="134" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td class="handcursor" onclick="menuclick(document.getElementById('submenu2'),document.getElementById('bar2'));">
						<table width="100%" border="0" cellpadding="0" cellspacing="0"
							class="leftmenubg spaceTopone">
							<tr>
								<td height="25"><span>总量控制系统</span></td>
								<td width="25"><img
									src="../images/down.png" name="bar2" border="0"
									id="bar2" /></td>
							</tr>
						</table>
						</td>
					</tr>
					<tr id="submenu2" style="display: none;">
						<td align="left">
						<ul>
						</ul>
						</td>
					</tr>
				</table>
				
			</td>
			</tr>


		</table>
		</div>
		<div class="leftsidernavbottom"></div>
		</div>
		<div class="floatLeft leftsiderarrow"><img
			src="../images/jiantou.gif" /></div>

		</div>
</body>
</html>
